package org.duiduo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.duiduo.common.bean.BookVO;
import org.duiduo.common.request.BookDeleteBatchRequest;
import org.duiduo.common.request.BookFindPageRequest;
import org.duiduo.entity.Book;

public interface BookService {

    Page<Book> findPage(BookFindPageRequest request);

    int deleteById(Integer id);

    int save(BookVO bookVO);

    int update(BookVO bookVO);

    int deleteBatch(BookDeleteBatchRequest request);
}
